<template>
   {{ f }}
  <!-- ^complete: foo -->
</template>

<script lang="ts" setup>
const foo = 1;
</script>